<%@ page contentType="text/html; charset=UTF-8" session="false"%>
<%@taglib prefix="s" uri="/struts-tags" %>   

<s:i18n name="language.main">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">     
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="utf-8" />
<title><s:text name="main.header.admin.manager" /></title><!-- 网站后台管理系统 --> 
<link rel="stylesheet" href="${webUrl }/css/tree/view/jquery.treeview.css" />
<script type="text/javascript" src="${webUrl }/js/jquery.js"></script>
<script src="${webUrl }/js/jquery.cookie.js" type="text/javascript"></script>
<link href="${webUrl }/css/tree/common.css" rel="stylesheet" type="text/css"/>
<link href="${webUrl }/css/tree/dhtmlxtree.css" rel="stylesheet" type="text/css"/>
<script src="${webUrl }/js/dhtmlxcommon.js" type="text/javascript" ></script>
<script src="${webUrl }/js/dhtmlxtree.js" type="text/javascript" ></script>
		<script type="text/javascript">
			var selectedNodeId = "";
		</script>

</head>

<body>
<div class="side">
	<div class="menucont">
		<div class="menuitem">
				<!-- <div id="titletop" class="div_W200" ><img src="../images/cn/admin/ico_charge_bb.gif" border="0" align="absmiddle"></div>  -->
					<div id="treebox" class="div_w300"></div>
					<script>
							//var path = "${webUrl}/url.xml?date"+new Date();
							var path = "${webUrl}/main!tree.html?date"+new Date(); //过滤菜单
							var tree=new dhtmlXTreeObject("treebox","100%","100%",0);
							tree.setImagePath("${webUrl}/images/tree/csh_vista/");
							tree.loadXML(path); 
							tree.attachEvent("onClick",function(id){ 
								var href = tree.getUserData(id,"url"); 
							    if(href != null && href != ""){
							    	parent.document.getElementById("rightFrame").src = href;
							    }
        						return true;  
    						});
    						
					</script>
		</div>
	</div>
</div>


</body>

</html>
</s:i18n>